﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Program
    {
        static void Main(string[] args)
        {
            Computer computer = new Computer("小米", "U盘", "三星固态");
            computer.star();
            USB uSB = new USB("小米","U盘", "三星固态");
            uSB.duqu();
            uSB.xieru();
            Disk disk = new Disk("小米", "U盘", "三星固态");
            disk.duqu();
            disk.xieru();
            computer.end();

        }
    }
}
